<?php
session_start();
require("../bin/common.php");
checkSess();
checkInstall();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Patch Home Preview - Vanadium Patch Manager</title>
<script type="text/javascript" src="../lib/script.js"></script>
<script type="text/javascript">
function closeWindow() {
	self.close();
}
</script>
<style type="text/css">
<!--
* {
	margin: 0px;
	padding: 0px;
}
.container {
	height: 500px;
	width: 500px;
	background-image: url(../lib/patcher/gfx/bg.gif);
}
.start {
	background-image: url(../lib/patcher/gfx/startgame.gif);
	height: 23px;
	width: 117px;
	position: absolute;
	top: 110px;
	left: 375px;
}
.start:hover {
	background-image: url(../lib/patcher/gfx/startgame_hover.gif);
}
.register {
	background-image: url(../lib/patcher/gfx/register.gif);
	position: absolute;
	height: 23px;
	width: 117px;
	left: 375px;
	top: 135px;
}
.register:hover {
	background-image: url(../lib/patcher/gfx/register_hover.gif);
}
.close {
	background-image: url(../lib/patcher/gfx/cancel.gif);
	position: absolute;
	height: 23px;
	width: 117px;
	left: 375px;
	top: 160px;
}
.close:hover {
	background-image: url(../lib/patcher/gfx/cancel_hover.gif);
}
.textfield {
	background-color: #fff;
	height: 190px;
	width: 438px;
	position: absolute;
	left: 20px;
	top: 270px;
	border: 1px solid #646464;
	overflow: scroll;
	padding: 10px;
}
.status {
	position: absolute;
	height: 68px;
	width: 458px;
	left: 20px;
	top: 195px;
	border: 1px solid #646464;
	background-image: url(../lib/patcher/gfx/status.gif);
	background-repeat: no-repeat;
}
.minimise {
	position: absolute;
	height: 17px;
	width: 18px;
	left: 451px;
	top: 8px;
	background-image: url(../lib/patcher/gfx/minimize.gif);
}
.minimise:hover {
	background-image: url(../lib/patcher/gfx/minimize_hover.gif);
}
.exit {
	background-image: url(../lib/patcher/gfx/close.gif);
	position: absolute;
	height: 17px;
	width: 18px;
	left: 475px;
	top: 8px;
}
.exit:hover {
	background-image: url(../lib/patcher/gfx/close_hover.gif);
}
-->
</style>
</head>

<body onload="loadPreview();">
<div class="container">

	<!-- Close/Minimise -->
    <div class="minimise"></div>
    <div class="exit" onclick="closeWindow();"></div>

	<!-- Buttons -->
	<div class="start"></div>
	<div class="register"></div>
	<div class="close" onclick="closeWindow();"></div>
    
	<!--Status -->
	<div class="status"></div>
    
    <!-- Textarea -->
	<div class="textfield" id="textfield"></div>
    
</div>
</body>
</html>
